<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="OpenIdDemo.IndexPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title>Untitled Page</title>
</head>
<body style="font-family: Arial">
  <form id="form1" runat="server">
    <div>
      <div id="errors" runat="server" style="color: red; font-weight: bold">
      </div>
      <div id="loggedin" runat="server">
        <asp:Label ID="LoginDetails" runat="server"></asp:Label><br />
        <img src="images/openid-inputicon.gif" />
        <asp:LinkButton ID="LogoutButton" runat="server" OnClick="LogOutButton_Click">Logout</asp:LinkButton>
      </div>
      <div id="loggedout" runat="server">
        <span>Email: </span>
        <asp:TextBox ID="DomainBox" runat="server" Style="width: 300px" />&nbsp;
        <img src="images/openid-inputicon.gif" />
        <asp:LinkButton ID="LoginButton" runat="server" OnClick="LoginButton_Click">Login</asp:LinkButton>
      </div>
    </div>
  </form>
</body>
</html>
